package com.imcrl.component.page
{
	import com.imcrl.core.IDatable;
	
	import starling.display.DisplayObject;
	
	/**
	 *  TabItem接口 
	 * @author crl
	 * 
	 */	
	public interface ITabItem extends IDatable
	{
		/**
		 * 相关视图; 
		 * @param value
		 * 
		 */		
		function set target(value:DisplayObject):void;
		function get target():DisplayObject;
		
		/**
		 * 选择状态 
		 * @param bool
		 * 
		 */		
		function set selected(bool:Boolean):void;
		function get selected():Boolean;
		
		/**
		 * 是否可用;
		 * @param bool
		 * 
		 */		
		function set enabled(bool:Boolean):void;
		function get enabled():Boolean;
		
		/**
		 * 索引; 
		 * @return 
		 * 
		 */		
		function get index():int;
		function set index(value:int):void;
	}
}